chore(deps): update node.js to v22.9.0 #366
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
22.8.0-slim
->22.9.0-slim
Release Notes
nodejs/node (node)
v22.9.0
: 2024-09-17, Version 22.9.0 (Current), @RafaelGSSCompare Source
New API to retrieve execution Stack Trace
A new API
getCallSite
has been introduced to theutil
module. This API allows usersto retrieve the stacktrace of the current execution. Example:
Thanks to Rafael Gonzaga for making this work on #54380.
Disable V8 Maglev
We have seen several crashes/unexpected JS behaviors with maglev on v22
(which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for
users to work around them or even figure out where the bugs are coming from.
Some bugs are fixed in the upstream while some others probably remain.
As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to
backport patches for them even if the bugs are fixed. So disable it by default
on v22 to reduce the churn and troubles for users.
Thanks to Joyee Cheung for making this work on #54384
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API
tls.createSecureContext
. Fornow on users can use
tls.createSecureContext({ allowPartialTrustChain: true })
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Thanks to Anna Henningsen for making this work on #54790
Other Notable Changes
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032Deprecations
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548428c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708Commits
027b0ffe84
] - async_hooks: add an InactiveAsyncContextFrame class (Bryan English) #54510022767028e
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928af1988c147
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #5474040c6849964
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #54740237d7dfbde
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747ebe91db827
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #54745060164485b
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #547342844180c7e
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #54734af7689ed02
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #54734456a1fe222
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #54734721c63c858
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #5439368e45b406e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #54723d19efd7a50
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #547221fb67afa2f
] - buffer: fix out of range for toString (Jason Zhang) #5455385b5ed5d41
] - buffer: re-enable Fast API for Buffer.write (Robert Nagy) #545269a075279ec
] - build: upgrade clang-format to v18 (Aviv Keller) #5395769ec9d8d2b
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785948bba396c
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #546336200cf4fb6
] - build: don't store eslint locally (Aviv Keller) #542313b5ed97fe9
] - build: turn off-Wrestrict
(Richard Lau) #54737e38e305a35
] - build,win: enable clang-cl compilation (Stefan Stojanovic) #546555bba0781b0
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #537743981853c00
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #5448502ac5376b9
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #54627323d9da3c9
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #54846bf4bf7cc6b
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #5443461047dd130
] - deps: upgrade npm to 10.8.3 (npm team) #546192351da5034
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #547130659516823
] - deps: allow amaro to be externalizable (Michael Dawson) #546466a32645dbc
] - deps: fix sign-compare warning in ncrypto (Cheng) #546248f62f19197
] - doc: fix broken Android building link (Niklas Wenzel) #54922440c256d76
] - doc: add support link for aduh95 (Antoine du Hamel) #5486656aca2a1ca
] - doc: run license-builder (github-actions[bot]) #548548931f569c6
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #543306f8a6e9eb6
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #54661c1b92e05e7
] - doc: add support link for mcollina (Matteo Collina) #547861def18122a
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #54209b8ae36b6c3
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #548222c2ae80924
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #544775bd4be5ce7
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #54427c0f3e4603f
] - doc: add support link for marco-ippolito (Marco Ippolito) #54789dc69eb8276
] - doc: fix typo in module.md (Tobias Nießen) #54794de225f5db9
] - doc: specify that preloaded modules affect subprocesses (Aviv Keller) #5293962b0007cbe
] - doc: clarify expandedSQL behavior (Tobias Nießen) #546851c7bdf95db
] - doc: render type references in SQLite docs (Tobias Nießen) #546845555095531
] - doc: fix typo (Michael Dawson) #54640754baa4efa
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #546215bfb4bcf45
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #5461322d873208e
] - doc, build: fixup build docs (Aviv Keller) #548995e081a12b6
] - doc, child_process: add esm snippets (Aviv Keller) #536162b68c30a26
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886a624002fff
] - esm: throwERR_REQUIRE_ESM
instead ofERR_INTERNAL_ASSERTION
(Antoine du Hamel) #5486831d4ef91ee
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #5469040ba89e452
] - esm: use Undici/fetch
data:
URL parser (Matthew Aitken) #5474893116dd7b1
] - fs: translate error code properly in cpSync (Jason Zhang) #54906375cbb592e
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834ee89c3149e
] - fs: respect dereference when copy symlink directory (Jason Zhang) #547327123bf7ca4
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #5486304ef3e4afd
] - https: only use default ALPNProtocols when appropriate (Brian White) #54411dc5593ba1e
] - lib: remove unnecessary async (jakecastelli) #548292b9a6373da
] - lib: make WeakRef safe in abort_controller (jazelly) #547915f02e1b850
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #54853fc78ced7e4
] - lib: convert signals to array before validation (Jason Zhang) #5471421fef34a53
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743a37d805489
] - (SEMVER-MINOR) lib: add util.getCallSite() API (Rafael Gonzaga) #543802a1f56cce6
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537540b1dbaf6
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620b59c8b88c7
] - lib,src: use built-in array buffer detach, transfer (Yagiz Nizipli) #54837c1cc046de9
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #5482082c08ef483
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #54693df30e8efa1
] - meta: ping @nodejs/performance on bench changes (Rafael Gonzaga) #54752bdd9fbb905
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #5469119574a8403
] - meta: update sccache to v0.8.1 (Aviv Keller) #547209ebcfb2b28
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #54704ea58feb959
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #54703c6bd9e443e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #5470279b358af2e
] - meta: fix links inSECURITY.md
(Aviv Keller) #546966c8a20d650
] - meta: fixcontributing
codeowners (Aviv Keller) #54641b7284ed099
] - module: do not warn for typeless package.json when there isn't one (Joyee Cheung) #54045ddd24a6e63
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #548774a7576efae
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984461e523498
] - os: improvetmpdir
performance (Yagiz Nizipli) #5470994fb7ab2e7
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #5454667b1d4cb45
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #548488433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548427766349dd0
] - sqlite: fix segfault in expandedSQL (Tobias Nießen) #546874c1b98ba2b
] - sqlite: remove unnecessary auto assignment (Tobias Nießen) #5468677d162adb6
] - src: add--env-file-if-exists
flag (Bosco Domingo) #53060424bdc03b4
] - src: add Cleanable class to Environment (Gabriel Schulhof) #54880fbd08e3a9f
] - src: switch crypto APIs to use Maybe<void> (James M Snell) #547755e72bd3545
] - src: eliminate ManagedEVPPkey (James M Snell) #5475197cbcfbb43
] - src: fix unhandled error in structuredClone (Daeyeon Jeong) #54764b89cd8d19a
] - src: move hkdf, scrypto, pbkdf2 impl to ncrypto (James M Snell) #546515c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032ff54cabef6
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #5492623fb03beed
] - test: remove duplicate skip AIX (Wuli) #549172b5e70816a
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909cefa692dcb
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #54900097f6d3e7e
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671ed736a689f
] - test: deflake test-dns (Luigi Pinca) #54902bb4849f595
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903d9264bceca
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #53705115a7ca42a
] - test: add missing await (Luigi Pinca) #548287a1d633d77
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636ee385d62b9
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #545522efec6221c
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #54872b198a91404
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #54860194cb83f39
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #548274b53558e8b
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839c968d65d6d
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739b998bb0933
] - test: remove need to make fs call for zlib test (Yagiz Nizipli) #54814f084ea2e01
] - test: use platform timeout (jakecastelli) #54591b10e434cf3
] - test: add platform timeout support for riscv64 (jakecastelli) #54591b875f2d7de
] - test: reduce stack size for test-error-serdes (James M Snell) #54840d1a411480a
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815b96ee30a09
] - test: usenode:test
intest-cli-syntax.bad
(Aviv Keller) #545135278b8b7a1
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #548418345a60d3a
] - test: fix Windows async-context-frame memory failure (Stephen Belanger) #54823cad404e1a1
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #5432541682c7286
] - test: settest-http2-socket-close
as flaky (Yagiz Nizipli) #548021e1ac48711
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #5480256238debff
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #548028291de1540
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #5480232d340e6b3
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #548026a2da4c4ca
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #548022f408847a0
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #54802e3b7c40ffc
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802d2ede46946
] - test: settest-sqlite-statement-sync
as flaky (Yagiz Nizipli) #54802b9f3385808
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802d55fec8f40
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #548023dfb525f3e
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802b0458a88b4
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #548025f6f8757e5
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #548024231af336d
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #5480245ef2a868e
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #54802b5137f6405
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #54511960116905a
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #54498f074d74bf3
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #5436867e30deced
] - test: move more zlib tests to node:test (Yagiz Nizipli) #54609fdb65111a3
] - test: improve output of child process utilities (Joyee Cheung) #5462255a12a4190
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54925de0f445a7f
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776a52c199d9d
] - (SEMVER-MINOR) test_runner: report coverage thresholds intest:coverage
(Aviv Keller) #548136552fddef5
] - test_runner: update kPatterns (Pietro Marchini) #547283396a4954d
] - test_runner: detect only tests when isolation is off (Colin Ihrig) #54832021f59b6bc
] - test_runner: apply filtering when tests begin (Colin Ihrig) #5483236da793350
] - test_runner: allow--import
with no isolation (Aviv Keller) #54697de73d1ee4b
] - test_runner: improve code coverage cleanup (Colin Ihrig) #548563d478728f2
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771b3d567ae0f
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605c2bf0134ce
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790608a611132
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #5474493fab49099
] - tools: add util scripts to land and rebase PRs (Antoine du Hamel) #54656d6df542ff8
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663689d127ee7
] - typings: fix TypedArray to a global type (1ilsang) #54063071dff1d34
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #547275243e3240c
] - Revert "v8: enable maglev on supported architectures" (Joyee Cheung) #54384ade9da5b3a
] - vm: add vm proto property lookup test (Chengzhong Wu) #546068385958b60
] - zlib: add typings for better dx (Yagiz Nizipli) #546998c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Thanks for the PR!
Any successful deployments (not always required) will be available below.
API available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow